package com.sdy.supermarket.biz.mapper;

import com.sdy.mvc.mapper.BaseMapper;
import com.sdy.supermarket.biz.model.GsNotice;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2019-07-22
 */
public interface GsNoticeMapper extends BaseMapper<GsNotice> {

    /**
     * 根据ID批量修改
     *
     * @param list
     * @return
     */
    int batchUpdate(List<GsNotice> list);

    /**
     * 根据id批量查询
     *
     * @param list
     * @return
     */
    List<GsNotice> batchSelect(List<Integer> list);

}
